home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-01-20 | 5.6 KB | 146 lines | [TEXT/MPS ] |
- =|
- Pascal Predefined Routines [1/2]
- Bits -> BitAnd BitNot BitOr BitXor BAND BOR BXOR BNOT BSL BSR
- BROTL RROTR BTST BCLR BSET HiWrd LoWrd
- Compiler Directives -> Compiler
- Hacks -> Ord4 Pointer SizeOf
- Memory -> Dispose FillChar HeapCheck HeapResult Mark MemAvail
- MoveLeft MoveRight New PLHeapInit PLSetHeapCheck
- PLSetHeapType PLSetMErrProc PLSetNonCont Release ScanEQ
- ScanNE|
- Pascal Predefined Routines [2/2]
- Niceties -> StringOf ReadString WriteDraw OldFileName
- NewFileName
- Ordinals -> Chr Odd Ord Pred Succ
- Reals -> Abs Arctan Cos Exp Ln Round Sin Sqr Sqrt Trunc
- Strings -> Concat Copy Delete Include Insert Length Omit Pos
- Windows -> GetDrawingRect GetTextRect HideAll SaveDrawing
- SetDrawingRect SetTextRect ShowDrawing ShowText|
- PLHeapInit(sizeHeap:longint;heapDelta:longint;memerrProc:univ
- PascalPointer; allowNonCont:boolean;forDispose:boolean); MPW-196|
- PLSetHeapCheck(DoIt:boolean); MPW-197|
- PLSetNonCont(allowNonCont:boolean); MPW-197|
- PLSetMErrProc(memerrProc:univ PascalPointer); MPW-197|
- PLSetHeapType(forDispose:boolean); MPW-197|
- New(var p:univ Ptr; [t1,t2,…]); MPW-198 TP-353|
- Dispose(p:univ Ptr); MPW-199 TP-354|
- HeapCheck(deathonerr:boolean); TP-355|
- HeapResult:integer; MPW-199 TP-355|
- Mark(p); MPW-200|
- Release(p); MPW-200|
- MemAvail:longint; MPW-200|
- Trunc(x:Extended):longint; MPW-201 TP-355|
- Round(x:Extended):longint; MPW-201 TP-355|
- Ord4(x):longint; MPW-201 TP-356|
- Pointer(x):univ Ptr; MPW-202 TP-356|
- Odd(x):boolean; MPW-203 TP-356|
- Abs(x:type):type; MPW-203 TP-357|
- Sqr(x:type):type; MPW-203 TP-357|
- Sin(x):Extended; MPW-204 TP-358|
- Cos(x):Extended; MPW-204 TP-358|
- Exp(x):Extended; MPW-204 TP-358|
- Ln(x):Extended; MPW-204 TP-358|
- Sqrt(x):Extended; MPW-205 TP-357|
- Arctan(x):Extended; MPW-205 TP-359|
- Ord(x):longint; MPW-205 TP-359|
- Chr(x):char; MPW-206 TP-359|
- Succ(x:type):type; MPW-206 TP-360|
- Pred(x:type):type; MPW-206 TP-360|
- Length(s:string):integer; MPW-207 TP-360|
- Pos(substr,str:string):integer; MPW-207 TP-361|
- Concat(s1,s2,…:string):string; MPW-207 TP-361|
- Copy(source:string;ndx,count:integer):string; MPW-208 TP-361|
- Delete(var s:string;ndx,count:integer); MPW-208 TP-362|
- Omit(s:string;ndx,count:integer):string; see Delete TP-362|
- Insert(source:string;var dest:string;ndx:integer); MPW-208 TP-363|
- Include(source,dest:string;ndx:integer):string; see Insert TP-363|
- HideAll; hides all Think's windows TP-363|
- ShowText; TP-363|
- ShowDrawing; TP-364|
- SetTextRect(r:Rect); TP-364|
- SetDrawingRect(r:Rect); TP-364|
- GetTextRect(var r:Rect); TP-364|
- GetDrawingRect(var r:Rect); TP-364|
- SaveDrawing(filename:string); to MacPaint file TP-364|
- MoveLeft(var source,dest:type;count:integer); MPW-209|
- MoveRight(var soucr,dest:type;count:integer); MPW-210|
- SizeOf(type or variable):longint; MPW-210 TP-369|
- ScanEQ(limit:integer;ch:char;var paoc:packed array of char):
- integer; MPW-211|
- ScanNE(limit:integer;ch:char;var paoc:packed array of char):
- integer; MPW-211|
- FillChar(var paoc:packed array of char;count:integer;ch:char);
- MPW-211|
- BitAnd(l,r:int/long):int/long; TP-365|
- BitOr(l,r:int/long):int/long; TP-365|
- BitXor(l,r:int/long):int/long; TP-365|
- BitNot(l:int/long):int/long; TP-365|
- BAND(l,r:longint):longint; MPW-213 TP-366|
- BOR(l,r:longint):longint; MPW-213 TP-366|
- BXOR(l,r:longint):longint; MPW-213 TP-366|
- BNOT(l:longint):longint; MPW-213 TP-366|
- BSL(l,count:integer):longint; MPW-213 TP-366|
- BSR(l,count:integer):longint; Logical Shift! MPW-214 TP-367|
- BROTL(l,count:integer):longint; MPW-214 TP-367|
- RROTR(l,count:integer):longint; MPW-214 TP-367|
- BTST(l,num:integer):boolean; MPW-214 TP-367|
- HiWrd(l:longint):integer; MPW-214 TP-368|
- LoWrd(l:longint):integer; MPW-215 TP-368|
- BCLR(var l:longint;num:integer); MPW-215 TP-367|
- BSET(var l:longint;num:integer); MPW-215 TP-368|
- WriteDraw(params); ala Write TP-370|
- StringOf(params):string; ala Write TP-370|
- ReadString(s:string;params); ala Read TP-371|
- OldFileName(prompt:string):string; prompt not displayed TP-371|
- NewFileName(promt:string):string; TP-372|
- Compiler Directives [1/4]
- $SETC id := comp-expr MPW-244 TP-214
- $IFC comp-expr MPW-244 TP-214
- $IFC UNDEFINED ident MPW-244 TP-214
- $IFC OPTION(option-name) MPW-244 TP-214
- $ELSEC MPW-245 TP-214
- $ENDC MPW-245 TP-214
- $A1 Allow global data to be noncontiguous MPW-246
- $A5 Let compiler resolve references to the unit's global data MPW-246|
- Compiler Directives [2/4]
- $B± Generate PC(+) or A5(-) relative code MPW-241
- $C± Generate code(+) MPW-241
- $D± MacsBug symbols(+) MPW-243
- $D± Debug on(+) or off(-) TP-207
- $E filename Errors to filename MPW-246
- $H± Check handle dereferencing(+) MPW-244
- $I filename Include filename MPW-240
- $I± Auto-initialise(+) TP-211
- $J± Global data in source file(-) Global data external(+) MPW-242 TP-212|
- Compiler Directives [3/4]
- $K pathname Use pathname for symbol table resources MPW-246
- $MC68020± Don't generate 020 instructions(-) MPW-242
- $MC68881± Don't generate 881 instructions(-) MPW-242
- $N± Send names to linker as anonymous(-) MPW-245
- $N± MacsBug symbols(+) TP-207
- $N++ Tracing on TP-208
- $OV± Ignore overflows(-) MPW-242
- $P Page break (for PasMat) MPW-247 (for printing) TP-214
- $PUSH Save current options MPW-247 TP-213|
- Compiler Directives [4/4]
- $POP Restore saved options MPW-247 TP-213
- $R± Perform range checking(+) MPW-242 TP-210
- $SC± Evaluate booleans normally(-) or short circuited(+) MPW-243
- $S segname Place subsequent routines in segname MPW-243 TP-213
- $U filename Find next unit in filename MPW-240
- $V± Check overflows(+) TP-209
- $W± Engage peephole optimiser(+) MPW-243
- $Z± Send names to linker as anonymous(-) MPW-245 TP-213
- $Z* Send names not at top level to linker as anonymous MPW-245|
- Initialisation TP-211
- InitGraf(@thePort);
- InitFonts;
- InitWindows;
- InitMenus;
- TEInit;
- InitDialogs(nil);
- SetApplLimit(sp-stack_size);
- MaxApplZone;
- for i := 1 to 10 do MoreMasters;|
- =|
-